<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>新增劳务人员</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="../../../resources/css/font.css">
		<link rel="stylesheet" href="../../../resources/css/xadmin.css">
		<script type="text/javascript" src="../../../resources/js/jquery.min.js"></script>
		<script type="text/javascript" src="../../../resources/js/jquery.cookie.js"></script>
		<script src="../../../resources/lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="../../../resources/js/xadmin.js"></script>
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	</head>

	<body>
		<!--<div class="x-nav">
			<span class="layui-breadcrumb"><a id="people">人员 基础信息</a></span>
			<span class="layui-breadcrumb"><a id="company">劳务公司</a></span>
			<span class="layui-breadcrumb"><a id="team">班组</a></span>
			<span class="layui-breadcrumb"><a id="job">工种</a></span>
			<span class="layui-breadcrumb"><a id="institution">机构</a></span>
			<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
				<i class="layui-icon" style="line-height:30px">ဂ</i>
			</a>
		</div>-->
		<div class="x-body">
			<form class="layui-form" id="lbpeopleadd">
				<div class="layui-form-item">
					<label for="L_name" class="layui-form-label">
                    <span class="x-red">*</span>用户名
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_name" name="name" required="" lay-verify="name" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_birthday" class="layui-form-label">
                    <span class="x-red"></span>生日
                </label>
					<div class="layui-input-inline">
						<input class="layui-input" placeholder="选择生日日期" name="birthday" id="L_birthday">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_age" class="layui-form-label">
                    <span class="x-red"></span>年龄（岁）
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_age" name="age" lay-verify="age" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_gender" class="layui-form-label">
                    <span class="x-red"></span>性别
                </label>
					<div class="layui-input-inline">
						<select id="L_gender" name="gender" class="valid" required="">
							<option value="0">男</option>
							<option value="1">女</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_ismonitor" class="layui-form-label">
                    <span class="x-red"></span>是否班长
                </label>
					<div class="layui-input-inline">
						<select id="L_ismonitor" name="ismonitor" class="valid" required="">
							<option value="0">不是</option>
							<option value="1">是</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_idcard" class="layui-form-label">
                    <span class="x-red">*</span>身份证号
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_idcard" name="idcard" lay-verify="idcard" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_presentaddr" class="layui-form-label">
                    <span class="x-red"></span>现住地址
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_presentaddr" name="presentaddr" lay-verify="presentaddr" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_familyaddr" class="layui-form-label">
                    <span class="x-red"></span>家庭地址
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_familyaddr" name="familyaddr" lay-verify="familyaddr" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_photourl" class="layui-form-label">
                    <span class="x-red"></span>照片
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_photourl" name="photourl" lay-verify="photourl" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_qrcodeurl" class="layui-form-label">
                    <span class="x-red"></span>二维码 
                </label>
					<div class="layui-input-inline">
						<input type="text" id="L_qrcodeurl" name="qrcodeurl" lay-verify="qrcodeurl" autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-mid layui-word-aux">
						复制二维码地址 复制粘贴即可
					</div>
				</div>
				<div class="layui-form-item">
					<button class="layui-btn x-btn" id="add" lay-filter="add" lay-submit="">增加</button>
				</div>
			</form>
		</div>
		<!--劳务公司-->
		<div class="x-body" id="company_plane" style="display: none;">
			<table class="layui-table">
				<thead>
					<tr>
						<th>
							<div class="layui-unselect header layui-form-checkbox" lay-skin="primary">
								<i class="layui-icon">&#xe605;</i>
							</div>
						</th>
						<th>序号</th>
						<th>劳务公司</th>
						<th>公司地址</th>
					</tr>
				</thead>
				<tbody id="lb_company">

				</tbody>
			</table>
			<div class="layui-form-item x-so">
				<button class="layui-btn x-btn-nom" onclick="companyAll()">确认选择</button>
			</div>
		</div>

		<!--班组-->
		<div class="x-body" id="team_plane" style="display: none;">
			<table class="layui-table">
				<thead>
					<tr>
						<th>
							<div class="layui-unselect header layui-form-checkbox" lay-skin="primary">
								<i class="layui-icon">&#xe605;</i>
							</div>
						</th>
						<th>序号</th>
						<th>班组名称</th>
						<th>班组描述</th>
					</tr>
				</thead>
				<tbody id="lb_team">

				</tbody>
			</table>
			<div class="layui-form-item x-so">
				<button class="layui-btn x-btn-nom" onclick="teamAll()">确认选择</button>
			</div>
		</div>

		<!--工种-->
		<div class="x-body" id="job_plane" style="display: none;">
			<table class="layui-table">
				<thead>
					<tr>
						<th>
							<div class="layui-unselect header layui-form-checkbox" lay-skin="primary">
								<i class="layui-icon">&#xe605;</i>
							</div>
						</th>
						<th>序号</th>
						<th>工种名称</th>
						<th>技能描述</th>
					</tr>
				</thead>
				<tbody id="lb_job">

				</tbody>
			</table>
			<div class="layui-form-item x-so">
				<button class="layui-btn x-btn-nom" onclick="jobAll()">确认选择</button>
			</div>
		</div>

		<!--机构-->
		<div class="x-body" id="institution_plane" style="display: none;">
			<table class="layui-table">
				<thead>
					<tr>
						<th>
							<div class="layui-unselect header layui-form-checkbox" lay-skin="primary">
								<i class="layui-icon">&#xe605;</i>
							</div>
						</th>
						<th>序号</th>
						<th>工种名称</th>
						<th>技能描述</th>
					</tr>
				</thead>
				<tbody id="lb_institution">

				</tbody>
			</table>
			<div class="layui-form-item x-so">
				<button class="layui-btn x-btn-nom" onclick="institutionAll()">确认选择</button>
			</div>
		</div>
		<script type="text/javascript" src="../../layouts/labourServices/lb_People_add.js"></script>
		<script>
			var _hmt = _hmt || [];
			(function() {
				var hm = document.createElement("script");
				hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(hm, s);
			})();

			layui.use('laydate', function() {
				var laydate = layui.laydate;

				//执行一个laydate实例
				laydate.render({
					elem: '#L_birthday', //指定元素
					format: 'yyyy/MM/dd',
				});
			});
		</script>
	</body>
</html>